package org.example.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @Author : zhangbo
 * @data : 2024/7/31
 * @description :这个表，本来是用于配置redis等信息的，暂时未使用
 */
@Data
@TableName("config")
public class ConfigDto {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("url")
    private String url;

    @TableField("port")
    private String port;

    @TableField("username")
    private String username;

    @TableField("password")
    private String password;

    @TableField("add_time")
    private Date addTime;

    @TableField("description")
    private String description;
}

